<h1>Listing greatwalks</h1>

<table>
  <tr>
    <th>Location</th>
  </tr>

<% for greatwalk in @greatwalks %>
  <tr>
    <td><%=h greatwalk.location %></td>
    <td><%= link_to 'Show', greatwalk %></td>
    <td><%= link_to 'Edit', edit_greatwalk_path(greatwalk) %></td>
    <td><%= link_to 'Destroy', greatwalk, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New greatwalk', new_greatwalk_path %>
